package com.itrus.raapi.info;

import com.itrus.cert.X509Certificate;
import com.itrus.cryptorole.CryptoException;
import com.itrus.cryptorole.SignatureVerifyException;
import com.itrus.svm.SVM;
import java.security.cert.CertificateException;
import org.bouncycastle.util.encoders.Base64;

public class RenewInfo
{
  private String certReqBuf;
  private String certReqBufType;
  private String certReqChallenge;
  private String certReqChallengeOld;
  private String certReqComment;
  private String certReqOverrideValidity;
  private String origCert;
  private String origCertSerialNumber;
  private String passcode;
  private String pkcsInformation;
  private String renewMode;

  public RenewInfo()
  {
  }

  public RenewInfo(String paramString1, String paramString2)
    throws SignatureVerifyException, CryptoException, CertificateException
  {
    X509Certificate localX509Certificate = X509Certificate.getInstance(SVM.verifySignature(paramString1, paramString2));
    this.certReqBuf = paramString1;
    this.pkcsInformation = paramString2;
    this.origCert = new String(Base64.encode(localX509Certificate.getEncoded()));
    this.origCertSerialNumber = localX509Certificate.getICASerialNumber();
  }

  public String getCertReqBuf()
  {
    return this.certReqBuf;
  }

  public String getCertReqBufType()
  {
    return this.certReqBufType;
  }

  public String getCertReqChallenge()
  {
    return this.certReqChallenge;
  }

  public String getCertReqChallengeOld()
  {
    return this.certReqChallengeOld;
  }

  public String getCertReqComment()
  {
    return this.certReqComment;
  }

  public String getCertReqOverrideValidity()
  {
    return this.certReqOverrideValidity;
  }

  public String getOrigCert()
  {
    return this.origCert;
  }

  public String getOrigCertSerialNumber()
  {
    return this.origCertSerialNumber;
  }

  public String getPasscode()
  {
    return this.passcode;
  }

  public String getPkcsInformation()
  {
    return this.pkcsInformation;
  }

  public String getRenewMode()
  {
    return this.renewMode;
  }

  public void setCertReqBuf(String paramString)
  {
    this.certReqBuf = paramString;
  }

  public void setCertReqBufType(String paramString)
  {
    this.certReqBufType = paramString;
  }

  public void setCertReqChallenge(String paramString)
  {
    this.certReqChallenge = paramString;
  }

  public void setCertReqChallengeOld(String paramString)
  {
    this.certReqChallengeOld = paramString;
  }

  public void setCertReqComment(String paramString)
  {
    this.certReqComment = paramString;
  }

  public void setCertReqOverrideValidity(String paramString)
  {
    this.certReqOverrideValidity = paramString;
  }

  public void setOrigCert(String paramString)
  {
    this.origCert = paramString;
  }

  public void setOrigCertSerialNumber(String paramString)
  {
    this.origCertSerialNumber = paramString;
  }

  public void setPasscode(String paramString)
  {
    this.passcode = paramString;
  }

  public void setPkcsInformation(String paramString)
  {
    this.pkcsInformation = paramString;
  }

  public void setRenewMode(String paramString)
  {
    this.renewMode = paramString;
  }
}

/* Location:           C:\Users\user\Desktop\dd28_pcdd720\classes_dex2jar.jar
 * Qualified Name:     com.itrus.raapi.info.RenewInfo
 * JD-Core Version:    0.6.2
 */